import { http } from '@/server'
import type { HttpResponsePending } from '@/server/interface'
import type { ClassData } from './index/interface'

/** 获取班级学员列表 */
export const fetchStudentList = (id: number): HttpResponsePending<ClassData> =>
    http.get(`/country/group/student/${id}`, { params: { page: 1, per_page: 10 } })
